package com.example.smart_lock_app.data.model

// 用于解析"查询设备"API的返回数据
data class DeviceInfo(
    val device_id: String,
    val name: String,
    val online: Boolean,
)

data class DeviceInfoResponse(
    val errno: Int,
    val error: String,
    val data: DeviceInfo?
)